package com.henu.art.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.henu.art.entity.Teacher;

import com.henu.art.model.UserDetailModel;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zoey
 * \\_/__/
 * @Date: 2025/04/24/17:07
 * @Description:
 */
public interface UserService extends IService<Teacher> {

    IPage<Teacher> getAllUser(Integer pageNum, Integer pageSize,Integer deleteStatus);

    int countByEmploymentStatus(String employmentStatus);

    Teacher getUserById(String id);

    boolean changePassword(String username, String newPassword) throws Exception;

    List<UserDetailModel> getAllUserDetailInfo();

    boolean removeById(String id);

    boolean redoDeleteUserById(String id);
}
